home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Pascal Super Library
/
Pascal Super Library (CW International)(1997).bin
/
DBASE_UT
/
TPDB335
/
STATUS.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1993-11-26
|
2KB
|
47 lines
{$A+,B+,D-,E-,F-,I-,L-,N-,O-,R-,S-,V-}
{$M 65520,0,655360}
program Status;
(***********************************)
(* TPDB *)
(***********************************)
(* Object -Oriented *)
(* Borland/Turbo Pascal Units *)
(* for Accessing dBASE III *)
(* files. *)
(* Copyright 1988 - 1993 *)
(* Brian Corll *)
(* All Rights Reserved *)
(***********************************)
(* FREEWARE *)
(***********************************)
(* dBASE is a registered *)
(* trademark of Borland Int. Inc. *)
(* Version 3.35 November, 1993 *)
(***********************************)
(* Portions Copyright 1984,1991 *)
(* Borland International Corp. *)
(***********************************)
uses
Crt, Dos, TPDB, TPDBScrn;
var
CurrFile:^DBF;
begin
CursorOff;
if ParamCount = 0 then begin
ClrScr;
Beep;
Flash(1, 1, LightRed + BlackBG, 'Syntax: STATUS filename.ext');
CursorOn;
Halt(1);
end;
New(CurrFile, Init(ParamStr(1)));
SetDBColor(LightCyan, Black);
CurrFile^.ShowStatus;
CurrFile^.Done;
end.